﻿<extend name="Public:base" />
<block name="title"><title>收入统计</title></block>
<block name="header_styles">
</block>
<block name="main">
    <div class="row">
        <div class="col-xs-3">
            <div class="column-sidebar">
                <include file="Public:LeftMenu" />
            </div>
        </div>
        <div class="col-xs-9">
            <div class="column-main">
                <div class="section">
                    <div class="section-title">收入统计</div>
                    <div class="section-content">
                        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                            <table class="table table-history">
                                <thead>
                                    <tr>
                                        <th>职位名称</th>
                                        <th>团队名称</th>
                                        <th>团队创建者</th>
                                        <th>入职时间</th>
                                        <th>离职时间</th>
                                        <th>约定薪酬</th>
                                        <th>实际收入</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <volist name='list' id='vo'>
                                    <tr <if condition="$vo['quitype'] eq 2">style="background-color:#FF0;"</if>>
                                    <td>{$vo.jname}</td>
                                    <td>{$vo.tname}</td>
                                    <td><a href="{$vo.createrid|genTalentURL}">{$vo.creater}</a></td>
                                    <td>{$vo.jointime|toTime=###,'Y.m.d H:i'}</td>
                                    <td><?php if(!$vo['quitime']){echo "在职中";}else{ echo toTime($vo['quitime']);} ?></td>
                                    <td>&#165;{$vo.salary}</td>
                                    <td>&#165;{$vo.income}</td>
                                </tr>
                                </volist>
                                </tbody>
                            </table>
                            <empty name='list'>
                                <div class="alert alert-warning">无任职经历</div>
                            <else />
                                <div class="pull-right"><strong>总计收入：&#165;{$totalIncome}</strong></div>
                            </empty>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>
<block name="footer_scripts">
    <script type="text/javascript">
    
    </script>
</block>
